package org.gdpu.service;

import org.gdpu.base.DAO;
import org.gdpu.model.Teams;

import java.util.List;

/**
 * Created by HEWI2 on 1/13/14.
 */
public interface TeamsService extends DAO {

    /**
     * 查找全部的分组
     *
     * @return
     */
    public List allTeams();

    /**
     * 查找组别
     *
     * @param name 组别名字
     * @return
     */
    public Teams findByName(String name);
}
